package cn.yunhe.hom3;

public class P_test {
    public static void main(String[] args) {
        Teacher teacher = new Teacher("张三", 20, "博士", "老师");
        Student student = new Student("李四", 6, "一年级", "三班");
        System.out.println(teacher.toString());
        System.out.println(student.toString());
    }
}
